class BaseAction:
    def __init__(self, driver):
        self.driver = driver
    def find_ele(self, feature):
        return self.driver.find_element(feature[0], feature[1])
    def click(self,element):
        self.find_ele(element).click()
    def input(self,element,text):
        self.find_ele(element).send_keys(text)
    def get_text(self,element):
        return self.find_ele(element).text